package com.tanhua.management.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_admin")
public class Admin extends BasePojo {
    private Long id;                // 用户id
    private String username;        // 账号
    private String password;        // 密码
    private String avatar;          // 头像
    @TableField(exist = false)
    private String token;
}
